﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AN_Test.aspx.cs" Inherits="GroupManager.AN_Test" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8" />
</head>
<body>
    <form id="form1" runat="server" enctype="multipart/form-data" method="post">
        <asp:ToolkitScriptManager ID="ToolkitScriptManager1" EnablePageMethods="true" runat="server"></asp:ToolkitScriptManager>
        <div>
            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False">
                <Columns>
                    <asp:TemplateField HeaderText="STT">
                        <ItemTemplate>
                            <%# Container.DataItemIndex + 1 %>
                        </ItemTemplate>
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:TemplateField>
                    <asp:BoundField DataField="MaSV" HeaderText="Mã Sinh viên">
                        <ItemStyle Width="5%" HorizontalAlign="Center" />
                    </asp:BoundField>
                    <asp:BoundField DataField="HoTen" HeaderText="Họ tên">
                        <ItemStyle Width="5%" HorizontalAlign="Center" />
                    </asp:BoundField>
                </Columns>
            </asp:GridView>

            <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
            <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" />
            <asp:AutoCompleteExtender ID="AutoCompleteExtender1"
                MinimumPrefixLength="2"
                CompletionInterval="100" EnableCaching="false" CompletionSetCount="10"
                ServiceMethod="SearchMember"
                TargetControlID="TextBox1"
                FirstRowSelected="false" runat="server">
            </asp:AutoCompleteExtender>
            <br />
            <asp:FileUpload ID="FileUpload1" runat="server" />
            <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="Đưa lên GridView" />

            <br />
            <br />
            <br />
            <asp:Button ID="Button4" runat="server" OnClick="Button4_Click" Text="Button" />

        </div>
    </form>
</body>
</html>
